package com.zsrd.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsrd.system.domain.SysDict;
import com.zsrd.system.domain.dto.SysDictDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xxx
 * @since 2023-11-23
 */
@Mapper
public interface SysDictMapper extends BaseMapper<SysDict> {


    List<SysDict> selectType(@Param("sysDict") SysDict sysDict);

    List<SysDict> selectName();

    IPage<SysDict> selectAll(@Param("page") Page<SysDict> page, @Param("sysDict") SysDict sysDict);

    List<SysDictDto> list();

    void inserts(SysDictDto sysDictDto);
}
